package com.fjh.csdn_spider.config;

import java.io.IOException;

import com.fjh.csdn_spider.utils.common_utils.PropertiesUtil;

public class Config {
	/**
	 * 默认读取config.properties,默认字符utf-8
	 */
	public static PropertiesUtil prop;
	static {
		// 这里的静态代码块是顺序执行的,所以得放在这里
		try {
			prop = new PropertiesUtil();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	public static String web_page_charset = prop.getValue("web_page_charset");
	public static String column_dir = prop.getValue("column_dir");
}
